//package com.java1234.rocketmq;
//
//import org.apache.rocketmq.spring.annotation.ConsumeMode;
//import org.apache.rocketmq.spring.annotation.RocketMQMessageListener;
//import org.apache.rocketmq.spring.core.RocketMQListener;
//import org.springframework.stereotype.Component;
//
///**
// * @author zhaolin
// * @version 1.0
// * @description: TODO 消息消费者
// * @date 2025/2/7 9:55
// * consumeMode = ConsumeMode.ORDERLY---------顺序消息
// */
//
//@RocketMQMessageListener(topic = "java1234-rocketmq-orderly",consumerGroup
//        ="${rocketmq.consumer.group}",consumeMode = ConsumeMode.ORDERLY )
//@Component
//public class ConsumerService2 implements RocketMQListener<String> {
//    @Override
//    public void onMessage(String s) {
//        System.out.println("消费者：收到消息内容："+s);
//    }
//}
